package com.yh.util;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Page<T> {
    private int pageNum;//当前页数
    private int totalPage;//总页数
    private int pageSize;//每页条数
    private List<T> data;
}
